package simulatepushpull;
/**
 *
 * @author vipR
 */
public class Queue {
    public int served, queued = 0;    
    
    public void in() {
        queued++;
    }    
    public void out() {
        served++;
        queued--;
    }
    public int getQueued() {
        return queued;
    }
    public int getServed() {
        return served;
    }    
}//a